﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WCF_CM
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUser" in both code and config file together.
    [ServiceContract]
    public interface IUserService
    {
        [OperationContract]
        public List<UserService> GetUsers();

        [OperationContract]
        public static string AddUser();

        [OperationContract]
        public List<UserService> FindUser();

        [OperationContract]
        public string UpdateUser();

        [OperationContract]
        public string DeleteUser();

        [OperationContract]
        public bool IsDisabled();

        [OperationContract]
        public List<Group> GetGroupsForUser(UserService user);

        [OperationContract]
        public List<Attrib> GetAttribforUser(UserService user);

    }
}
